<?php
/**
* jiemengarticle.php
*
* Create on 2016-4-18
* Create by TT
*/
namespace haibao\cms\model\data;

class Jiemengarticle extends \haibao\cms\model\data\Base{
	const DEFAULT_STATUS_OK = 1;

	const DEFAULT_STATUS_NO = 0;
	/**
	 * 名称
	 */
	public $Title;
	/**
	 * 分类ID
	 */
	public $CategoryId;
	/**
	 * 内容
	 */
	public $Content;
	/**
	 * 状态
	 */
	public $Status;
	
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 创建人
	 */
	public $CreateBy;

	public function __construct(){
		parent::__construct();

		$this->stringField('Title', 'Title',true);
		$this->stringField('Content', 'Content',true);
		$this->intField('CategoryId', 'CategoryId',true);
		$this->intField('CreateBy', 'CreateBy',false);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('Status', 'Status',true);

		$this->setTableName('JieMengArticle');
	}

}